<?php
/**
 * Created by PhpStorm.
 * User: sunshubo
 * Date: 2017/12/12
 * Time: 9:49
 */

class AddActiveInfo_control extends MY_Controller
{
    function index()
    {
        $body = $this->input->raw_input_stream;
        var_dump($body);
        $file = fopen('.test.txt', 'w');
        fwrite($file, $body);
        fclose($file);
    }
}